// 保存token
export function saveToken(name, token) {
    window.localStorage.setItem(name, token)
}

// 获取token
export function getToken(name) {
    return window.localStorage.getItem(name)
}

// 删除token
export function removeToken(name) {
    window.localStorage.removeItem(name)
}
